// 导入二次封装的axios
import { get, post } from '@/utils/axios';

// 获取并导出轮播图列表
export let bannerList = () =>  get( '/banner/list' ) ;
// 获取并导出商品列表
export let goodsList = () =>  get( '/shop/goods/list' ) ;
// 获取并导出商品详细信息
export let detail = ( id ) =>  get( '/shop/goods/detail' ,{ id }) ;
